#include <iostream>
#include "Singleton.h"

static void TestSingleton() {
    Singleton single = Singleton::GetInstance();
    std::cout << "single address = " << std::addressof(single) << std::endl;

    Singleton single2 = Singleton::GetInstance();
    std::cout << "single address = " << std::addressof(single2) << std::endl;

    Singleton::GetInstance().printInfo();
}

int main() {
    // 1
    TestSingleton();

    return 0;
}
